<!-- 1903010328 查询通行证 -->
<?php
include "../../inc/log/adsession.php";
include "../../inc/data/connAdmin.php";
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>后台首页</title>
	<link rel="stylesheet" type="text/css" href="/28/inc/CSS/admin">
	<link rel="stylesheet" type="text/css" href="/28/inc/CSS/reset.css">
<?php
	include "../../inc/data/connAdmin.php";
// 预处理sql语句，得到mysqli_stmt对象，绑定参数
$sql = "select menuname,link,remark,tePre,stuPre from mamx_menu";
$stmt = $conn->prepare($sql);
//执行查询
$stmt->execute();
//绑定结果
$stmt->bind_result($menuName,$Link,$reMark,$tePer,$stuPer);
//保存结果
$stmt->store_result();
$stmt->fetch();
?>
</head>
<body>
	<div id="tScoreln">
		<!--顶部-->
			<div id="top">
			<img src="/28/inc/pic/00.png">
			<!--导航栏区域和下拉列表-->
			<div id="top-rig">
			<ul>
			    <li><a href="">首页</a></li>
			    <li id="ddown"><a href="" id="dropbtn">学校概况</a>
				    <div id="ddown-content">
				    <a href="">学校简介</a>
				    <a href="">历任教师</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">国际合作</a>
				    <div id="ddown-content">
				    <a href="">交流概况</a>
				    <a href="">国际学生</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">院系部门</a>
				    <div id="ddown-content">
				    <a href="">党群机构</a>
				    <a href="">管理与服务机构</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">科学研究</a>
				    <div id="ddown-content">
				    <a href="">科研概况</a>
				    <a href="">重点学科</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">教师队伍</a>
				    <div id="ddown-content">
				    <a href="">总体介绍</a>
				    <a href="">杰出人才</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">人才培养</a>
				    <div id="ddown-content">
				    <a href="">继续教育</a>
				    <a href="">奖贷学金</a>
				    </div>
				</li>
				<li id="ddown"><a href="" id="dropbtn">人才招聘</a>
				    <div id="ddown-content">
				    <a href="">优秀博士后</a>
				    <a href="">应聘方式</a>
				    </div>
				</li>
                <li id="ddown"><a href="" id="dropbtn">招生就业</a>
				    <div id="ddown-content">
				    <a href="">本科生招生</a>
				    <a href="">就业服务</a>
				    </div>
				</li>
				<img src="/28/inc/pic/find1.png">
		    </ul>
			</div>
			</div>
	    <!--顶部结束-->
	    <!---->
	    	<div id="main">
	        	<img src="/28/inc/pic/position.png">
	    		当前位置: 后台首页-菜单管理--修改菜单
	    <!--结束-->
	    <div id="yh">
	    <img src="/28/inc/pic/user.png" style="width:25px;height:25px;margin:3px 10px;">
		<!-- 1903010328 动态信息 -->
		<h4 style="margin:8px 10px;font-size:20px;color:#1D50A2">您好！
		<?=$_SESSION["uName"]?>
		</h4>
	    </div>
		<!--结束-->
		<?php
			// 获取菜单
			// include "../../inc/data/connAdmin.php";
		$menuName = $_GET['menu'];
		$sql = "select menuname,link,remark,tePre,stuPre 
				from mamx_menu
				where menuname='$menuName'";
		$stmt=$conn->prepare($sql);
		$stmt->execute();
		$stmt->bind_result($menuName,$Link,$reMark,$tePer,$stuPer);
		$stmt->store_result();
		$stmt->fetch();
?>
	    <!--表格区域-->
	 <form id="" method="post" name="" action="menuModiDeal.php?menu=<?=$menuName?>" style="" >
  		<table style="margin: 10px auto; text-align:center;border:4px solid #1D50A2;font-size:20px;font-weight:bold;color:brown" border="5px" width="700px">
     			<tr>
      				<td colspan="2">菜单名为：
      					<input type="text" name="menuname"  value="<?=$menuName?>"  style="width:100px;font-size:18px">  
      				</td>
    			</tr>
    			<tr>
          			<td>超级链接目的地：</td>
          			<td>
          				<input type="text" name="link"  value="<?=$Link?>" style="width:150px;font-size:18px">
          			</td>
        		</tr>
        		<tr>
          			<td> 备注：</td>
          			<td>
          				<input type="text" name="remark"  value="<?=$reMark?>" style="width:250px;font-size:18px">
          			</td>
		        </tr>
		        <tr>		
		          	<td>老师权限：</td>
		          	<td>
		          		<label for="role"><input type="radio" name="tep" value="有"  checked="checked" />有 </label>
		          		<label for="role"><input type="radio" name="tep" value="无" checked="checked" />无</label>
		          	</td>
		        </tr>
		        <tr>
          			<td>学生权限：</td>
          			<td>
          				<label for="role"><input type="radio" name="stu" value="有" checked="checked" />有</label>
          				<label for="role"><input type="radio" name="stu" value="无" checked="checked" />无</label>
          			</td>
        		</tr>
    			<tr>
     	 			<td colspan="2"  style="height:32px">
         				<input type="submit" value="确定" style="width:60px;height:28px;background-color:#1D50A2;font-size:18px;text-align:center;margin-top:2px;color:white;margin-right:5px">  
         				<input type="submit" value="清空"  style="width:60px;height:28px;background-color:#1D50A2;font-size:18px;text-align:center;margin-top:2px;color:white;margin-left:5px">
      				</td>
    			</tr>
  			</table>
</form>
	</div>
</body>
</html>